package com.shell.guard.exception;

public class ErrorCode {
	private final int code;
	private final String message;
	private final String detailMessage;

	public ErrorCode(int code, String message, String detailMessage) {
		this.code = code;
		this.message = message;
		this.detailMessage = detailMessage;
	}

	public ErrorCode(String message, String detailMessage) {
		this.code = 0;
		this.message = message;
		this.detailMessage = detailMessage;
	}

	public int getCode() {
		return this.code;
	}

	public String getMessage() {
		return this.message;
	}

	public String getDetailMessage() {
		return this.detailMessage;
	}
}
